<template>
  <div class="install-content">
    <div class="title">
      <p class="bigTitle">{{systemName}}</p>
      <p class="smlTitle">请选择注册模式</p>
    </div>
    <el-row type="flex" justify="space-around" class="row-bg">
      <el-col :span="6" class="col" @click.native="network">
        <div>
          <img src="../../assets/images/wangluo.png" alt="">
          <p>网络模式</p>
        </div>
      </el-col>
      <el-col :span="6" class="col" @click.native="standAlone">
        <div>
          <img src="../../assets/images/zaixian.png" alt="">
          <p>单机模式</p>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      systemName:window.systemName
    }
  },
  methods: {
    network() {
      this.$router.push({
        path: '/pageInstall',
        name: 'pageInstall',    
      })
      sessionStorage.setItem('HostType','0')
    },
    standAlone() {
      this.$router.push({
        path: '/standAlone',
        name: 'standAlone',
      })
      sessionStorage.setItem('HostType','1')
    }
  }
}
</script>

<style scoped>
.install-content {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom , rgb(62, 211, 129), rgb(157 212 194));
  /* display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-around; */
  color: #eee;
  font-size: 24px;
  /* text-align: center; */
}
.row-bg {
  width: 100%;
  height: 55%;
}
.col {
  border-radius: 15px;
  height: 100%;
  /* border: 1px solid #FFF; */
  box-shadow: 0 0 120px 4px #5cce95, 0 0 0  currentColor;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-align: center;
  transition: all 0.5s ;
}
img {
  width: 150px;
  margin-bottom: 15px;
}
.col:hover {
  /* border: 1px solid #c1f1ed;
  box-shadow: 8px 8px 15px 0 #2a7771; */
  color: rgb(250, 250, 250);
  border: 3px solid #5cce95;
}
.title {
  padding-top: 30px;
  margin-bottom: 40px;
  width:100%;
  text-align: center;
}
.bigTitle {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 5px;
  /* margin-right: 40px;
  margin: 0 40px 0 0; */
}
.smlTitle {
  font-size: 20px;
  margin: 0;
}
</style>